home *** CD-ROM | disk | FTP | other *** search
/ The Trig Explorer / The Trig Explorer.iso / mac / Explorer / plot.dxr / 00033.ls < prev    next >
Encoding:
Text File  |  2000-08-01  |  403 b   |  13 lines

  1. on enterFrame
  2.   set the trails of sprite 19 to 1
  3.   set the foreColor of sprite 19 to 6
  4.   set x0 to the locH of sprite 15
  5.   set y0 to the locV of sprite 15
  6.   repeat with n = 0 to 120
  7.     set the locH of sprite 19 to (2.39999999999999991 * n) + x0
  8.     set the locV of sprite 19 to y0 - (50.0 * float(cos(float(n * 3.0 * PI / 180.0))))
  9.     updateStage()
  10.   end repeat
  11.   set the trails of sprite 19 to 0
  12. end
  13.